<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" type="hidden" th:value="${device.id}">
						<div class="form-group">
							<label class="col-sm-3 control-label">设备名称：</label>
							<div class="col-sm-8">
								<input id="deviceName" name="deviceName" th:value="${device.deviceName}"
								 class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">设备序号：</label>
							<div class="col-sm-8">
								<input id="serialNumber" name="serialNumber" th:value="${device.serialNumber}"
								 class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">产品：</label>
							<div class="col-sm-8">
								<select id="deviceTypeId" name="deviceTypeId" style="width:100%;height:40px;">
									<option th:each="item : ${deviceTypes}" th:field="*{device.deviceTypeId}" th:value="${item.id}">
										<span th:text="${item.deviceTypeName}"></span>
									</option>
								</select>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/msg/device/edit.js">
	</script>
</body>
</html>
